package org.grayrabbit.cloud.core.rpc;


/**
 * @author sys53
 * @version 1.0
 * @created 11-����-2011 16:34:33
 */
public interface ChannelFactory<R extends Result> {

	public abstract Channel<R> alloc(String url)
    throws URLException, ChannelException;
	
	public abstract void free(Channel<R> channel)
    throws ChannelException;

}